package com.ceba.test.modules.regist.service;

import abc.data.DataTable;
import com.ceba.base.web.service.IBaseService;
import com.ceba.test.modules.regist.dao.GenterpriseLicListDao;
import com.ceba.test.modules.regist.entity.EnterpriseRegistLic;
import com.ceba.test.modules.regist.entity.GenterpriseLicList;

import java.util.List;
import java.util.Map;

public class GenterpriseLicListService extends IBaseService {

    private GenterpriseLicListDao genterpriseLicListDao;

    public List<Map<String,Object>> queryEnterpriseListRegistLicAll(String fkEnterpiseId) {
        return genterpriseLicListDao.queryEnterpriseListRegistLicAll(fkEnterpiseId);
    }

    public Map<String,Object> queryGenterpriseLicListById(String id){
        return genterpriseLicListDao.queryGenterpriseLicListById(id);
    }
    /**
     *增加
     */

    public boolean  addGenterpriseLicList(GenterpriseLicList licList) throws  Exception{
        return  genterpriseLicListDao.addGenterpriseLicList(licList);
    }

    public GenterpriseLicListDao getGenterpriseLicListDao() {
        return genterpriseLicListDao;
    }

    public void setGenterpriseLicListDao(GenterpriseLicListDao genterpriseLicListDao) {
        this.genterpriseLicListDao = genterpriseLicListDao;
    }
}
